<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>解决IE6不支持opacity的问题</title>
        <style>
            .opacity{
                opacity: 0.5;
                filter: alpha(opacity = 50);
                filter: progid:DXImageTransform.Microsoft.Alpha(style = 0, opacity = 50);
            }
            .box-200-200{
                width: 200px;
                height: 200px;
            }
            .bgc-pink{
                background-color: pink;
            }
            .bgc-red{
                background-color: red;
            }
            .c-black{
                color:black;
            }
            .f14{
                font-size: 14px;
            }
        </style>
    </head>
    <body>
        <div class="box-200-200 opacity bgc-red f14 c-blck">小狗钱钱，聪明的投资者</div>
    </body>
</html>